//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.yaukie.base.core.entity;

import java.util.ArrayList;
import java.util.List;
import org.yaukie.base.core.BaseEntity;

public class XMenu extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long menuId;
    private String menuName;
    private String parentName;
    private Long parentId;
    private String orderNum;
    private String path;
    private String component;
    private String isFrame;
    private String isCache;
    private String menuType;
    private String visible;
    private String status;
    private String perms;
    private String icon;
    private List<XMenu> children = new ArrayList();

    public XMenu() {
    }

    public Long getMenuId() {
        return this.menuId;
    }

    public String getMenuName() {
        return this.menuName;
    }

    public String getParentName() {
        return this.parentName;
    }

    public Long getParentId() {
        return this.parentId;
    }

    public String getOrderNum() {
        return this.orderNum;
    }

    public String getPath() {
        return this.path;
    }

    public String getComponent() {
        return this.component;
    }

    public String getIsFrame() {
        return this.isFrame;
    }

    public String getIsCache() {
        return this.isCache;
    }

    public String getMenuType() {
        return this.menuType;
    }

    public String getVisible() {
        return this.visible;
    }

    public String getStatus() {
        return this.status;
    }

    public String getPerms() {
        return this.perms;
    }

    public String getIcon() {
        return this.icon;
    }

    public List<XMenu> getChildren() {
        return this.children;
    }

    public void setMenuId(final Long menuId) {
        this.menuId = menuId;
    }

    public void setMenuName(final String menuName) {
        this.menuName = menuName;
    }

    public void setParentName(final String parentName) {
        this.parentName = parentName;
    }

    public void setParentId(final Long parentId) {
        this.parentId = parentId;
    }

    public void setOrderNum(final String orderNum) {
        this.orderNum = orderNum;
    }

    public void setPath(final String path) {
        this.path = path;
    }

    public void setComponent(final String component) {
        this.component = component;
    }

    public void setIsFrame(final String isFrame) {
        this.isFrame = isFrame;
    }

    public void setIsCache(final String isCache) {
        this.isCache = isCache;
    }

    public void setMenuType(final String menuType) {
        this.menuType = menuType;
    }

    public void setVisible(final String visible) {
        this.visible = visible;
    }

    public void setStatus(final String status) {
        this.status = status;
    }

    public void setPerms(final String perms) {
        this.perms = perms;
    }

    public void setIcon(final String icon) {
        this.icon = icon;
    }

    public void setChildren(final List<XMenu> children) {
        this.children = children;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof XMenu)) {
            return false;
        } else {
            XMenu other = (XMenu)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label191: {
                    Object this$menuId = this.getMenuId();
                    Object other$menuId = other.getMenuId();
                    if (this$menuId == null) {
                        if (other$menuId == null) {
                            break label191;
                        }
                    } else if (this$menuId.equals(other$menuId)) {
                        break label191;
                    }

                    return false;
                }

                Object this$menuName = this.getMenuName();
                Object other$menuName = other.getMenuName();
                if (this$menuName == null) {
                    if (other$menuName != null) {
                        return false;
                    }
                } else if (!this$menuName.equals(other$menuName)) {
                    return false;
                }

                Object this$parentName = this.getParentName();
                Object other$parentName = other.getParentName();
                if (this$parentName == null) {
                    if (other$parentName != null) {
                        return false;
                    }
                } else if (!this$parentName.equals(other$parentName)) {
                    return false;
                }

                label170: {
                    Object this$parentId = this.getParentId();
                    Object other$parentId = other.getParentId();
                    if (this$parentId == null) {
                        if (other$parentId == null) {
                            break label170;
                        }
                    } else if (this$parentId.equals(other$parentId)) {
                        break label170;
                    }

                    return false;
                }

                label163: {
                    Object this$orderNum = this.getOrderNum();
                    Object other$orderNum = other.getOrderNum();
                    if (this$orderNum == null) {
                        if (other$orderNum == null) {
                            break label163;
                        }
                    } else if (this$orderNum.equals(other$orderNum)) {
                        break label163;
                    }

                    return false;
                }

                Object this$path = this.getPath();
                Object other$path = other.getPath();
                if (this$path == null) {
                    if (other$path != null) {
                        return false;
                    }
                } else if (!this$path.equals(other$path)) {
                    return false;
                }

                Object this$component = this.getComponent();
                Object other$component = other.getComponent();
                if (this$component == null) {
                    if (other$component != null) {
                        return false;
                    }
                } else if (!this$component.equals(other$component)) {
                    return false;
                }

                label142: {
                    Object this$isFrame = this.getIsFrame();
                    Object other$isFrame = other.getIsFrame();
                    if (this$isFrame == null) {
                        if (other$isFrame == null) {
                            break label142;
                        }
                    } else if (this$isFrame.equals(other$isFrame)) {
                        break label142;
                    }

                    return false;
                }

                label135: {
                    Object this$isCache = this.getIsCache();
                    Object other$isCache = other.getIsCache();
                    if (this$isCache == null) {
                        if (other$isCache == null) {
                            break label135;
                        }
                    } else if (this$isCache.equals(other$isCache)) {
                        break label135;
                    }

                    return false;
                }

                Object this$menuType = this.getMenuType();
                Object other$menuType = other.getMenuType();
                if (this$menuType == null) {
                    if (other$menuType != null) {
                        return false;
                    }
                } else if (!this$menuType.equals(other$menuType)) {
                    return false;
                }

                label121: {
                    Object this$visible = this.getVisible();
                    Object other$visible = other.getVisible();
                    if (this$visible == null) {
                        if (other$visible == null) {
                            break label121;
                        }
                    } else if (this$visible.equals(other$visible)) {
                        break label121;
                    }

                    return false;
                }

                Object this$status = this.getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    return false;
                }

                label107: {
                    Object this$perms = this.getPerms();
                    Object other$perms = other.getPerms();
                    if (this$perms == null) {
                        if (other$perms == null) {
                            break label107;
                        }
                    } else if (this$perms.equals(other$perms)) {
                        break label107;
                    }

                    return false;
                }

                Object this$icon = this.getIcon();
                Object other$icon = other.getIcon();
                if (this$icon == null) {
                    if (other$icon != null) {
                        return false;
                    }
                } else if (!this$icon.equals(other$icon)) {
                    return false;
                }

                Object this$children = this.getChildren();
                Object other$children = other.getChildren();
                if (this$children == null) {
                    if (other$children != null) {
                        return false;
                    }
                } else if (!this$children.equals(other$children)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof XMenu;
    }

    public int hashCode() {
        int result = 1;
        Object $menuId = this.getMenuId();
        result = result * 59 + ($menuId == null ? 43 : $menuId.hashCode());
        Object $menuName = this.getMenuName();
        result = result * 59 + ($menuName == null ? 43 : $menuName.hashCode());
        Object $parentName = this.getParentName();
        result = result * 59 + ($parentName == null ? 43 : $parentName.hashCode());
        Object $parentId = this.getParentId();
        result = result * 59 + ($parentId == null ? 43 : $parentId.hashCode());
        Object $orderNum = this.getOrderNum();
        result = result * 59 + ($orderNum == null ? 43 : $orderNum.hashCode());
        Object $path = this.getPath();
        result = result * 59 + ($path == null ? 43 : $path.hashCode());
        Object $component = this.getComponent();
        result = result * 59 + ($component == null ? 43 : $component.hashCode());
        Object $isFrame = this.getIsFrame();
        result = result * 59 + ($isFrame == null ? 43 : $isFrame.hashCode());
        Object $isCache = this.getIsCache();
        result = result * 59 + ($isCache == null ? 43 : $isCache.hashCode());
        Object $menuType = this.getMenuType();
        result = result * 59 + ($menuType == null ? 43 : $menuType.hashCode());
        Object $visible = this.getVisible();
        result = result * 59 + ($visible == null ? 43 : $visible.hashCode());
        Object $status = this.getStatus();
        result = result * 59 + ($status == null ? 43 : $status.hashCode());
        Object $perms = this.getPerms();
        result = result * 59 + ($perms == null ? 43 : $perms.hashCode());
        Object $icon = this.getIcon();
        result = result * 59 + ($icon == null ? 43 : $icon.hashCode());
        Object $children = this.getChildren();
        result = result * 59 + ($children == null ? 43 : $children.hashCode());
        return result;
    }

    public String toString() {
        return "XMenu(menuId=" + this.getMenuId() + ", menuName=" + this.getMenuName() + ", parentName=" + this.getParentName() + ", parentId=" + this.getParentId() + ", orderNum=" + this.getOrderNum() + ", path=" + this.getPath() + ", component=" + this.getComponent() + ", isFrame=" + this.getIsFrame() + ", isCache=" + this.getIsCache() + ", menuType=" + this.getMenuType() + ", visible=" + this.getVisible() + ", status=" + this.getStatus() + ", perms=" + this.getPerms() + ", icon=" + this.getIcon() + ", children=" + this.getChildren() + ")";
    }
}
